Re: Font Size Mystery (Windows)
by "Eric A. Meyer" <eric(at)meyerweb.com>
|
Date: |
Thu, 1 Feb 2001 10:01:06 -0500 |
To: |
hwg-style(at)hwg.org |
References: |
boeing |
|
todo: View
Thread,
Original
|
|
>The inheritance of styles from the BODY tag stops
>when a table is encountered, although IE has a bug
>with this."
Actually, both IE and Navigator 4.x have bugs with this.
Navigator's are worse. Styles should inherit from the BODY (or any
other ancestor element, like a DIV or another table) into a table.
There is nothing about tables which makes them any more special than
other elements.
Unfortunately, Navigator 4.x is so poorly implemented that it
can't handle inheritance into table elements. Thus, most people
write their styles like this:
BODY, TD, TH {...basic styles here...}
That can sometimes backfire, depending on what styles are used and
the effect which is intended. Of course, if you're going to hack
around a bug then you should expect some backfires.
IE4 and IE5 have very different "bugs" which yield similar
results, so the same advice applies.
--
Eric A. Meyer (eric(at)meyerweb.com) http://www.meyerweb.com/eric/
Author, "CSS: The Definitive Guide" http://www.oreilly.com/catalog/css/
Editor, Style Sheets Ref. Guide http://style.webreview.com/
Coordinator, W3C CSS Test Suite http://www.w3.org/Style/CSS/Test/
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA